
package com.craterhill.java.ems.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.craterhill.java.ems.common.beans.SchoolType;
import com.craterhill.java.ems.dao.SchoolTypeDao;
import com.craterhill.java.ems.service.SchoolTypeService;

@Service
public class SchoolTypeServiceImpl implements SchoolTypeService {

	@Autowired
	private SchoolTypeDao schoolTypeDao;

	@Override
	public List<SchoolType> getSchoolTypes() {
		return schoolTypeDao.findAll();
	}
}
